package com.rongcheng.fortestlist;

import android.view.View;
import android.widget.TextView;

import com.rongcheng.fortestlist.model.MainListModel;

/**
 * @author frc
 *         created at 16-12-20.
 */

public class MainRecyclerViewHolder extends AbstractViewHolder<MainListModel> {
    public TextView tv_item_name;

    public MainRecyclerViewHolder(final View itemView) {
        super(itemView);
        tv_item_name = (TextView) itemView.findViewById(R.id.tv_item_name);
    }

    @Override
    public void bindData(MainListModel dataModel) {
        tv_item_name.setText(dataModel.getItemName());
    }
}
